package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户资金对象 user_funds
 * 
 * @author ruoyi
 * @date 2024-12-03
 */
public class UserFunds extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 用户的id */
    private Long userId;

    /** 可用余额 */
    @Excel(name = "可用余额")
    private String available;

    /** 余额减少 */
    @Excel(name = "余额减少")
    private String reduce;

    /** 余额增加 */
    @Excel(name = "余额增加")
    private String increase;

    /** 余额减少原因 */
    @Excel(name = "余额减少原因")
    private String reduceReason;

    /** 余额增加原因 */
    @Excel(name = "余额增加原因")
    private String increaseReason;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAvailable(String available) 
    {
        this.available = available;
    }

    public String getAvailable() 
    {
        return available;
    }
    public void setReduce(String reduce) 
    {
        this.reduce = reduce;
    }

    public String getReduce() 
    {
        return reduce;
    }
    public void setIncrease(String increase) 
    {
        this.increase = increase;
    }

    public String getIncrease() 
    {
        return increase;
    }
    public void setReduceReason(String reduceReason) 
    {
        this.reduceReason = reduceReason;
    }

    public String getReduceReason() 
    {
        return reduceReason;
    }
    public void setIncreaseReason(String increaseReason) 
    {
        this.increaseReason = increaseReason;
    }

    public String getIncreaseReason() 
    {
        return increaseReason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("userId", getUserId())
            .append("available", getAvailable())
            .append("reduce", getReduce())
            .append("increase", getIncrease())
            .append("reduceReason", getReduceReason())
            .append("increaseReason", getIncreaseReason())
            .toString();
    }
}
